import request from '@/utils/request'

// 新增门票预约
export function createReservation(data) {
  return request({
    url: '/system/reservation',
    method: 'post',
    data: data
  })
}

// 根据手机号获取订单信息
export function getReservationByPhone(phoneNum) {
  return request({
    url: `/system/reservation/getTicketByPhone/${phoneNum}`,
    method: 'get'
  })
}